#ifndef QBOOMANIMATION_H
#define QBOOMANIMATION_H

#include <QAbstractAnimation>
#include <QGraphicsPixmapItem>
#include "booblewidget.h"


class QBoomAnimation : public QAbstractAnimation
{
    Q_OBJECT
private:

    BoobleWidget * m_wdgbooble;
public:
    QBoomAnimation(BoobleWidget * bwdg): m_wdgbooble(bwdg){}
    int duration()const;
protected:
    void updateCurrentTime (int);


};

#endif // QBOOMANIMATION_H
